<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>QueryString</title>
    <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

</body>
<script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="QueryString.js"></script>
<script>
    var qs = new QueryString('?day=1123&day=2&test[][12][123]=3&test[][12][]=5&test[][12][]=6&test[][12][]=5&test[][12][]=6');
    alert(qs.get('test.1'));
</script>
</html>